package com.zq.blog_serve.common;


public enum AjaxResultState {

    SUCCESS(200, "success"), ERROR(500, "error");

    private int code;

    private String msg;

    AjaxResultState(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
